On the Complexity of Determining the Period of a String

نویسندگان

  • Artur Czumaj
  • Leszek Gasieniec
چکیده

We study the complexity of a classical combinatorial problem of computing the period of a string. We investigate both the averageand the worst-case complexity of the problem. We deliver almost tight bounds for the average-case. We show that every algorithm computing the period must examine Ω( √ m) symbols of an input string of length m. On the other hand we present an algorithm that computes the period by examining on average O q m · log|Σ| m symbols, where |Σ| ≥ 2 stands for the input alphabet. We also present a deterministic algorithm that computes the period of a string using m + O(m) comparisons. This is the first algorithm that have the worstcase complexity m + o(m).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Impact of the Economic Complexity Index on Competitiveness: A Study of Selected Emerging Countries

The main purpose of this study is to investigate the relationship between economic complexity and competitiveness using panel data in a sample of 39 emerging countries from 2002 to 2018. The results of the causality test of Dmitresco and Horlin Granger (2012) show a two-way cause between economic complexity and competitiveness. This indicates that the higher complexity of the economy helps coun...

متن کامل

Impact of Pollution Location on Time and Frequency Characteristics of Leakage Current of Porcelain Insulator String under Different Humidity and Contamination Severity

One of the important factors influencing outdoor insulators performance is pollution phenomenon. The pollution, especially during humidity condition, reduces superficial resistance of insulator and lead to a flow of Leakage Currents (LC) on the insulator surface, which may result in total flashover. The LC characteristics are affected by parameters such as nature and severity of pollution. Loca...

متن کامل

انتخاب کوچکترین ابر رشته در DNA با استفاده از الگوریتم ازدحام ذرّات

A DNA string can be supposed a very long string on alphabet with 4 letters. Numerous scientists attempt in decoding of this string. since this string is very long , a shorter section of it that have overlapping on each other will be decoded .There is no information for the right position of these sections on main DNA string. It seems that the shortest string (substring of the main DNA string) i...

متن کامل

The effect of knowledge based economic indicators on the countries' economic complexity

Countries’ economic growth and development are significantly dependent on their productive capacity. In this research, we aimed to investigate which components of a knowledge-based economy has a more meaningful role in the production capacity. In order to measure production capacity, we used one of the most up-to-date indexes, the economic complexity index.  The research used data panel consist...

متن کامل

Determining the Best Performance Time Period of a System

The main purpose of this paper is to determine the best performance time period of a system, consisting some DMUs, among some sequential time periods. This aim is satised by two proposed algorithms, the rst based on global Malmquist Productivity Index and the second is based on PPS frontiers.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000